//
//  JKLimitInput.h
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define JK_PROPERTY_NAME @"limit"

#define DECLARE_PROPERTY(className) \
@interface className (Limit) @end

DECLARE_PROPERTY(UITextField)
DECLARE_PROPERTY(UITextView)

@interface JKLimitInput : NSObject

@property(nonatomic, assign) BOOL enableLimitCount;

/**  可限制输入的字符个数，如下
 
 [UITextField的对象 setValue:@10 forKey:@"limit"];
 
 */
+(JKLimitInput *) sharedInstance;


@end

